﻿<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
           xmlns:tns="http://tempuri.org/COPSchema.xsd"
           targetNamespace="http://tempuri.org/COPSchema.xsd"
           elementFormDefault="qualified">
  <xsd:element name="Tags" type="tns:Tags"/>
  

  <xsd:complexType name="Tags">
    <xsd:sequence>
      <xsd:element name="Tag" type="tns:Tag" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>

  <xsd:complexType name="Tag">
    <xsd:sequence>
      <xsd:element name="Maps" type="tns:Maps"/>      
    </xsd:sequence>
    <xsd:attribute name="Name" type="xsd:string" />
    <xsd:attribute name="Type">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="Boolean" />
          <xsd:enumeration value="OneToOne" />
          <xsd:enumeration value="OneToMany" />
          <xsd:enumeration value="ManyToMany" />
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>

 



  

  <xsd:complexType name="Maps">
    <xsd:sequence>
      <xsd:element name="Map" type="tns:Map" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="Key" type="xsd:string"/>
  </xsd:complexType>

  <xsd:complexType name="Map">
          <xsd:attribute name="Key" type="xsd:string"/>
    <xsd:attribute name="Value" type="xsd:string"/>
      </xsd:complexType>
  
  
  
</xsd:schema>